import axios from '../util/axios'

export function getHome(params) {
  return axios.get('/index-infos', {
    headers: {
      token: localStorage.getItem("token") || "",
    },
  });
}

export function getAdvertise() {
  return axios.get('/index-advertise', {
    headers: {
      token: localStorage.getItem("token") || "",
    },
  });
}